﻿using B.X.Rabbit.Domain.Autofac;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.X.Rabbit.Domain.屠宰
{
    /// <summary>
    /// 屠宰企业公司信息
    /// </summary>
    public class SlaughterEnterprise:BaseFieId
    {
        /// <summary>
        /// 公司ID
        /// </summary>
        [Key]
        public int CompanyId { get; set; }
        /// <summary>
        /// 公司名称
        /// </summary>
        public string? CompanyName { get; set; }
        /// <summary>
        /// 成立时间
        /// </summary>
        public DateTime EstablishDate { get; set; }
        /// <summary>
        /// 公司地址(三级联动)
        /// </summary>
        public int AddressId { get; set; }
        /// <summary>
        /// 公司简介
        /// </summary>
        public string? CompanyProfile { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleted { get; set; } = false;
    }
}
